package com.cafe.pro.config;

import com.cafe.pro.dto.KeyPairConfig;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "cafe")
public class CafeConfig {
    private KeyPairConfig rsaKeyPair;
    private Map<String, String> aseKeyPairs;
    private String currentKeyVersion;
}
